<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <title>这是神秘基地</title>
    <link rel="icon" th:href="@{../img/title.png}" type="image/ico">
    <meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
    <meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
    <meta name="author" content="yinqi">
    <link th:href="@{/admin/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/admin/css/materialdesignicons.min.css}" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/admin/js/bootstrap-multitabs/multitabs.min.css}">
    <link th:href="@{/admin/css/style.min.css}" rel="stylesheet">

</head>

<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <aside class="lyear-layout-sidebar">

            <!-- logo -->
            <div id="logo" class="sidebar-header">
                <a href="#"><img th:src="@{/admin/images/saxon.png}" title="LightYear" alt="LightYear"/></a>
            </div>
            <div class="lyear-layout-sidebar-scroll">

                <nav class="sidebar-main">
                    <ul class="nav nav-drawer">
                        <li class="nav-item active"><a class="multitabs"
                                                       th:href="@{/admin/main}"><i
                                class="mdi mdi-home"></i> <span>后台首页</span></a></li>

                        <li class="nav-item nav-item-has-subnav">
                            <a href="javascript:void(0)"><i class="mdi mdi-spin mdi-account-convert"></i>
                                <span>用户管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs"
                                       th:href="@{/admin/page/userList}">用户列表</a>
                                </li>
                            </ul>
                        </li>

                        <li class="nav-item nav-item-has-subnav">
                            <a href="javascript:void(0)"><i class="mdi mdi-spin mdi-webpack"></i> <span>博客管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs"
                                       th:href="@{/admin/page/BlogList/1}">博客列表</a>
                                </li>
                                <li><a class="multitabs"
                                       th:href="@{/admin/page/addBlog}">添加博客</a>
                                </li>
                                <li><a class="multitabs"
                                       th:href="@{/admin/getBlogType}">博客种类</a>
                                </li>
                                <li><a class="multitabs"
                                       th:href="@{/admin/page/fileUpload}">附件上传</a>
                                </li>
                                <li><a class="multitabs"
                                       th:href="@{/admin/page/gallery}">本地图库</a>
                                </li>
                            </ul>
                        </li>
                        <li class="nav-item">
                            <a th:href="@{/}"><i
                                    class="mdi mdi-spin mdi-star-circle"></i> <span>前端 页面</span></a>
                            <ul class="nav nav-subnav">

                            </ul>
                        </li>

                    </ul>
                </nav>
                <div class="sidebar-footer">
                    <p class="copyright">Copyright &copy; 2019. <a target="_blank"
                                                                   href="http://lyear.itshubao.com">IT书包</a> All rights
                        reserved.</p>
                </div>
            </div>

        </aside>
        <!--End 左侧导航-->

        <!--头部信息-->
        <header class="lyear-layout-header">

            <nav class="navbar navbar-default">
                <div class="topbar">

                    <div class="topbar-left">
                        <div class="lyear-aside-toggler">
                            <span class="lyear-toggler-bar"></span>
                            <span class="lyear-toggler-bar"></span>
                            <span class="lyear-toggler-bar"></span>
                        </div>
                    </div>

                    <ul class="topbar-right" style="margin-right: 20px">
                        <li class="dropdown dropdown-profile">
                            <a href="javascript:void(0)" data-toggle="dropdown">
                                <img class="img-avatar img-avatar-48 m-r-10" th:src="@{/admin/images/users/code.jpg}"
                                     alt="后台logo"/>
                                <span><span class="caret"></span></span>
                            </a>
                            <ul class="dropdown-menu dropdown-menu-right">
                                <li><a class="multitabs" data-url="lyear_pages_profile.html"
                                       href="javascript:void(0)"><i class="mdi mdi-account"></i> 个人信息</a></li>
                                <li><a class="multitabs" data-url="lyear_pages_edit_pwd.html" href="javascript:void(0)"><i
                                        class="mdi mdi-lock-outline"></i> 修改密码</a></li>
                                <li class="divider"></li>
                                <li><a th:href="@{/logout}"><i
                                        class="mdi mdi-logout-variant"></i> 退出登录</a></li>
                            </ul>
                        </li>
                        <!--切换主题配色-->
                    </ul>

                </div>
            </nav>

        </header>
        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">

            <div id="iframe-content"></div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>

<script type="text/javascript" th:src="@{/admin/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/admin/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/admin/js/perfect-scrollbar.min.js}"></script>
<script type="text/javascript" th:src="@{/admin/js/bootstrap-multitabs/multitabs.js}"></script>
<script type="text/javascript" th:src="@{/admin/js/index.min.js}"></script>
</body>
</html>